package code3;

public class GoFusanGame {
	public static void main(String[] args) {
		Person person = new Person();
		// int personDays = person.go(City.FUSHANG);
		Zombie zombie = new Zombie();
		// int zombieDays = zombie.go(City.FUSHANG);
		int count = 0;
		// System.out.println(personDays);
		// System.out.println(zombieDays);

		// System.out.println(person.go(City.FUSHANG));
		// System.out.println(person.go(City.SHOUOU));
		// System.out.println(person.go(City.RENGCHUANG));
		// System.out.println(zombie.go(City.FUSHANG));
		// System.out.println(zombie.go(City.SHOUOU));
		// System.out.println(zombie.go(City.RENGCHUANG));

		if (person.go(City.FUSHANG) - zombie.go(City.FUSHANG) < 0)
			count++;
		if (person.go(City.SHOUOU) - zombie.go(City.SHOUOU) < 0)
			count++;
		if (person.go(City.RENGCHUANG) - zombie.go(City.RENGCHUANG) < 0)
			count++;

		if (count >= 2) {
			System.out.println("person win");
		} else {
			System.out.println("zombie win");
		}
	}
}
